package com.bh.order.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.bh.common.annotation.Excel;
import com.bh.common.core.domain.BhtmsBaseEntity;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;
import java.util.Date;

/**
 * 订单追踪对象 jc_order_track
 *
 * @author slx
 * @date 2023-04-22
 */
@TableName("jc_order_track")
@Data
public class JcOrderTrack extends BhtmsBaseEntity implements Serializable {
    

    /**
     * 事件
     */
    @Excel(name = "事件")
    private String event;

    /**
     * 时间
     */
    @JsonFormat(timezone="GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date time;

    /**
     * 订单ID
     */
    @Excel(name = "订单ID")
    private Long jcOrderId;


    /**
     * 订单ID
     */
    @Excel(name = "订单照片")
    private String imgs;


    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("createName", getCreateName())
                .append("createTime", getCreateTime())
                .append("description", getDescription())
               
                .append("modifyName", getModifyName())
                .append("modifyTime", getModifyTime())
                .append("name", getName())
                .append("status", getStatus())
                .append("event", getEvent())
                .append("time", getTime())
                .append("jcOrderId", getJcOrderId())
                .toString();
    }
}
